<script setup lang="ts">
interface propsInterface {
  src: string;
  size: number;
  title:string
}

defineProps<propsInterface>();
</script>

<template>
  <el-avatar :size="size" :src="src" :title="title">
    <img src="https://cube.elemecdn.com/e/fd/0fc7d20532fdaf769a25683617711png.png"/>
  </el-avatar>
</template>
<style scoped lang="scss">
img {
  width: 100%;
  object-fit: cover;
}
</style>
